<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <link rel="icon" href="/favicon.ico">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>瑞智分析决策系统</title>
    <style></style>
  </head>
  <script>
    function getBrowser(n) {
      let ua = navigator.userAgent.toLowerCase(),
      s,
      name = "",
      ver = 0;
      //探测浏览器
      (s = ua.match(/msie ([\d.]+)/)) ? _set("ie", _toFixedVersion(s[1])):
      (s = ua.match(/firefox\/([\d.]+)/)) ? _set("firefox", _toFixedVersion(s[1])) :
      (s = ua.match(/chrome\/([\d.]+)/)) ? _set("chrome", _toFixedVersion(s[1])) :
      (s = ua.match(/opera.([\d.]+)/)) ? _set("opera", _toFixedVersion(s[1])) :
      (s = ua.match(/version\/([\d.]+).*safari/)) ? _set("safari", _toFixedVersion(s[1])) : 0;

      function _toFixedVersion(ver, floatLength) {
        ver = ("" + ver).replace(/_/g, ".");
        floatLength = floatLength || 1;
        ver = String(ver).split(".");
        ver = ver[0] + "." + (ver[1] || "0");
        ver = Number(ver).toFixed(floatLength);
        return ver;
      }
      function _set(bname, bver) {
        name = bname;
        ver = bver;
      }
      return (n == "n" ? name : (n == "v" ? ver : name + ver));
    };
    if (parseInt(getBrowser("v")) < 100) {
      alert("您使用的浏览器内核过低，内容无法展示!\n建议使用Microsoft Edge、谷歌Chrome、火狐Firefox等最新版本浏览器浏览本网页。")
    }
    // console.log(getBrowser("v"))
  </script>
  <body style="margin: 0; position: relative;">
    <div id="app"></div>
    <script type="module" src="/src/main.js"></script>
  </body>
</html>
